() => {
    //布尔值类型:
    let bool: boolean = true
    bool = null
    bool = undefined
    // console.log(bool);

    //数字类型
    let num1: number = 1
    let num2: number = NaN
    let num3: number = Infinity
    let num4: number = 1.2e10

    //字符串
    let str1: string = "123"
    let str2: string = `123`

    //symbol 类型
    let sbl: symbol = Symbol()

    //bigInt类型:
    let big1: bigint = 1n;


    //undefined 和 null  在非ts严格模式下 null 和undefined是所有类型的子类型
    let null1: null = null
    let unde1: undefined = undefined


    //object类型  所有js中的对象类型都可以是object类型(object是一个非常广泛的类型, 我们很少直接使用,而是会给变量设置更加精确的类型)
    let arr: object = []
    let date: object = new Date()
    let reg: object = /\s/g
    let obj: object = {}


} 